package com.rw.engine.frequency.exception;

import lombok.Getter;

/**
 * 频率限制异常
 */
@Getter
public class FrequencyLimitException extends RuntimeException {
    private final FrequencyExceptionEnum exceptionEnum;

    public FrequencyLimitException(String msg, FrequencyExceptionEnum exceptionEnum) {
        super(msg);
        this.exceptionEnum = exceptionEnum;
    }
}
